<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<s:form action="uploadFile" namespace="/" method="POST"
	enctype="multipart/form-data">
	
	<s:file name="fileUpload" label="Chọn file để upload" size="2097152" />

	<s:submit value="Upload" name="Upload"/>

</s:form>

<style>
input[type=button],input[type=submit],input[type=file] {
	background-color: #21759B;
	background-image: linear-gradient(to bottom, #2A95C5, #21759B);
	box-shadow: 0 1px 0 rgba(120, 200, 230, 0.5) inset;
	border-color: #21759B #21759B #1E6A8D #21759B;
	border-style: solid;
	border-width: 1px;
	border-radius: 3px 3px 3px 3px;
	display: inline-block;
	padding: 4px 10px;;
	margin: 2px 4px;
	color: #FFFFFF;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	font-size: 13px;
}

input[type=file]:hover,input[type=file]:focus,input[type=submit]:hover,input[type=submit]:focus
	{
	background-color: #278AB7;
	background-image: linear-gradient(to bottom, #2E9FD2, #21759B);
	border-color: #1B607F;
	box-shadow: 0 1px 0 rgba(120, 200, 230, 0.6) inset;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3)
}
</style>